public class Food extends Product {
    private String makeDay;
    private String okEndDay;

    @Override
    public void displayInfo() {
        super.displayInfo();
        System.out.println(this.makeDay + " " + this.okEndDay);
    }

    public Food() {
    }

    public Food(String makeDay, String okEndDay) {
        this.makeDay = makeDay;
        this.okEndDay = okEndDay;
    }

    /**
     * 获取
     * @return makeDay
     */
    public String getMakeDay() {
        return makeDay;
    }

    /**
     * 设置
     * @param makeDay
     */
    public void setMakeDay(String makeDay) {
        this.makeDay = makeDay;
    }

    /**
     * 获取
     * @return okEndDay
     */
    public String getOkEndDay() {
        return okEndDay;
    }

    /**
     * 设置
     * @param okEndDay
     */
    public void setOkEndDay(String okEndDay) {
        this.okEndDay = okEndDay;
    }

    public String toString() {
        return "Food{makeDay = " + makeDay + ", okEndDay = " + okEndDay + "}";
    }
}
